#!/bin/sh

PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin

RUNPATH=`dirname $0`
source $RUNPATH/../config/config.dat
DATFILE=$ICENETPATH/config/srvip.dat

while true ; do
	$ICENETPATH/shell/chksrvip > /var/log/chksrvip.log 2>&1
	echo $? >> /var/log/chksrvip.log 2>&1
	sleep $ROUNDWAIT
	source $RUNPATH/../config/config.dat
done
